package com.wsoft.constant;

/**
 * Word 静态常量
 * @Author z001
 * @Date 2024/11/12 13:20
 */
public class WordConstant {

    /**
     * bean 前缀
     * 不带参: ${bean:myBean.getValue()}
     * 带参: ${bean:myBean.getValue(string:testParam1,double:42,String:testParam2)}
     */
    public static final String BEAN_PREFIX = "bean:";

    /**
     * class前缀
     */
    public static final String CLASS_PREFIX = "class:";

    /**
     * 方法后缀
     */
    public static final String METHOD_SUFFIX = "()";

    /**
     * 获取日期类型 格式化模板
     */
    public static final String CURRENT_DATE_FORMAT = "yyyy-MM-dd";
    public static final String CURRENT_DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";


    /**
     * word 获取bean 方法参数类型
     */
    public static final String METHOD_PARAM_TYPE_INT = "int:";
    public static final String METHOD_PARAM_TYPE_INTEGER = "Integer:";
    public static final String METHOD_PARAM_TYPE_DOUBLE_LOWER = "double:";
    public static final String METHOD_PARAM_TYPE_DOUBLE_UPPER = "Double:";
    public static final String METHOD_PARAM_TYPE_LONG_LOWER = "long:";
    public static final String METHOD_PARAM_TYPE_LONG_UPPER = "Long:";
    public static final String METHOD_PARAM_TYPE_STRING_LOWER = "string:";
    public static final String METHOD_PARAM_TYPE_STRING_UPPER = "String:";


}
